<ion-header  class="nav-header">
  <ion-toolbar>
    <ion-buttons slot="start">
      <ion-button (click)="backClick()">
        <ion-icon class="md-arrow-back"  ios="md-arrow-back"></ion-icon>
      </ion-button>
    </ion-buttons>
    <ion-title>常见问题</ion-title>
  </ion-toolbar>
</ion-header>
<ion-header>
  <ion-grid class="conpro-tab">
    <ion-row>
      <ion-col [ngClass]="{'active':stateData.isSaving}" (click)="changeTab('saving')">
        如何存款
      </ion-col>
      <ion-col [ngClass]="{'active':stateData.isWithdraw}" (click)="changeTab('withdraw')">
        如何提款
      </ion-col>
      <ion-col [ngClass]="{'active':stateData.isPrivacy}" (click)="changeTab('privacy')">
        营私政策
      </ion-col>
      <ion-col [ngClass]="{'active':stateData.isRule}" (click)="changeTab('rule')">
        规则条款
      </ion-col>
    </ion-row>
  </ion-grid>
</ion-header>
<ion-content padding>
  <div *ngIf="stateData.isSaving" [innerHTML]="questionData.saving.cfg_val | html"></div>
  <div *ngIf="stateData.isWithdraw" [innerHTML]="questionData.withdraw.cfg_val  | html"></div>
  <div *ngIf="stateData.isPrivacy" [innerHTML]="questionData.privacy.cfg_val  | html"></div>
  <div *ngIf="stateData.isRule" [innerHTML]="questionData.rule.cfg_val  | html"></div>
</ion-content>
<app-tab-self></app-tab-self>